#ifndef DEVICELISTDIALOG_H
#define DEVICELISTDIALOG_H

#include <QDialog>
#include <QVariant>

namespace Ui
{
    class DeviceListDialog;
}

class DeviceListDialog : public QDialog
{
    Q_OBJECT
public:
    explicit DeviceListDialog(QWidget *parent = nullptr);
    ~DeviceListDialog();

    void setDeviceList(const QVariantList &deviceList);

    const QVariantMap &selectedDevice() const;

private slots:
    void on_table_device_cellDoubleClicked(int row, int column);

private:
    Ui::DeviceListDialog *ui;

    QVariantMap m_selectedDevice;

};

#endif // DEVICELISTDIALOG_H
